import { pget } from '@/utils/req'
import { modalApi } from '@/utils/modalReq'

// 渠道奖励明细列表
export function getRewardsList(query: any) {
  return pget(`${modalApi.sales}/ditch/rewards/records/page`, query)
}
// 渠道奖励明细列表
export function getAllChannelType() {
  return pget(`${modalApi.sales}/sale/ditch/getAllChannelType`)
}
// 获取所有渠道管理列表
export function getAllDitch() {
  return pget(`${modalApi.sales}/sale/ditch/getAllDitch`)
}
